import Layout from '@/pages/public/layout' // 公共部分

const split = [{
  path: '/finance/split',
  component: Layout,
  children: [{
    path: 'list',
    component: () => import('@/pages/finance/split/list.vue'),
    meta: {
      title: '分成明细',
      permission: 'finance.split.list'
    }
  }, {
    path: 'user',
    component: () => import('@/pages/finance/split/user.vue'),
    meta: {
      title: '用户分成',
      permission: 'finance.split.user'
    }
  }, {
    path: 'flow/:user_id',
    component: () => import('@/pages/finance/split/flow.vue'),
    meta: {
      title: '分成流水',
      permission: 'finance.split.flow'
    }
  }]
}]

export default split
